!rtims

Displays summary and statistical information for the internal memory allocation space (MSpace) of a process. The command shows MSpace’s control flags, parameters, and memory usage. When supplied with an optional info level, the command also shows memory usage within the local pool and pool cache, top block, and the settings for trimming.

Syntax

!rtims <process> <info_level>

Parameters

process

RTSS process address. This parameter is required.

info_level [optional]

A ULONG number to specify the display level.

Parameter Information Displayed

0 or no value provided (default)

Display MSpace’s control flags, parameters, and memory usage.

1

Display MSpace’s control flags, parameters, and memory usage for the local pool and pool cache.

2 Display MSpace’s control flags, parameters, memory usage for the local pool and pool cache, top block and the settings for trimming.

Remarks

For a glossary of common terms found in command output, see RTX64 WinDbg Extension Commands Glossary.

This command is supported for:

Requirements

Minimum Supported Version RTX64 4.0

Examples

Example of !rtims with a process object and default detail level

!rtims 0xffffcf0ab70e0010

Process 0xffffcf0ab70e0010 Internal MSpace Summary Information

MSpace descriptor:                              0xffffcf0ab70e1000
MSpace minimum size (bytes):               0x0000000000100000
Commit memory at process startup:               False
Auto expand MSpace:                             True
Auto expand size (bytes):                       0x0000000000100000
Auto shrink MSpace:                             True

MSpace peak usage (statistical maximum bytes):  0x0000000000010000
OS memory taken by MSpace (bytes):              0x0000000000101000
Total MSpace (bytes):                           0x00000000000fffc0
Free MSpace (bytes):                            0x00000000000f7830
Used MSpace (bytes):                            0x0000000000008790
Largest contiguous free block (bytes):          0x00000000000ef000

 Example of !rtims with a process object and detail level 1

!rtims 0xffffcf0ab70e0010 1

Process 0xffffcf0ab70e0010 Internal MSpace (Pool and Cache) Summary Information

MSpace descriptor:                              0xffffcf0ab70e1000
MSpace minimum size (bytes):               0x0000000000100000
Commit memory at process startup:               False
Auto expand MSpace:                             True
Auto expand size (bytes):                       0x0000000000100000
Auto shrink MSpace:                             True

MSpace peak usage (statistical maximum bytes):  0x0000000000010000
OS memory taken by MSpace (bytes):              0x0000000000101000
Total MSpace (bytes):                           0x00000000000fffc0
Free MSpace (bytes):                            0x00000000000f7830
Used MSpace (bytes):                            0x0000000000008790
Largest contiguous free block (bytes):          0x00000000000ef000

Total Local Pool (bytes):                       0x00000000000fffc0
Free Local Pool (bytes):                        0x00000000000effa0
Used Local Pool (bytes):                        0x0000000000010020

Total Pool Cache (bytes):                       0x0000000000010000
Free Pool Cache (bytes):                        0x0000000000007890
Used Pool Cache (bytes):                        0x0000000000008770
Free blocks in Pool Cache:                      0x0000000000000001 

Example of !rtims with info_level 2

!rtims 0xffffcf0ab70e0010 2

Process 0xffffcf0ab70e0010 Internal MSpace (Pool, Cache, Top Block) Summary Information

MSpace descriptor:                              0xffffcf0ab70e1000
MSpace minimum size (bytes):               	 0x0000000000100000
Commit memory at process startup:               False
Auto expand MSpace:                             True
Auto expand size (bytes):                       0x0000000000100000
Auto shrink MSpace:                             True

MSpace peak usage (statistical maximum bytes):  0x0000000000010000
MSpace current usage (bytes):                   0x0000000000010000
MSpace usage limit:                             Disabled
The lowest address in MSpace:                   0xffffcf0ab70e0fe8

OS memory taken by MSpace (bytes):              0x0000000000101000
Total MSpace (bytes):                           0x00000000000fffc0
Free MSpace (bytes):                            0x00000000000f7830
Used MSpace (bytes):                            0x0000000000008790
Largest contiguous free block (bytes):          0x00000000000ef000

Total Local Pool (bytes):                       0x00000000000fffc0
Free Local Pool (bytes):                        0x00000000000effa0
Used Local Pool (bytes):                        0x0000000000010020

Total Pool Cache (bytes):                       0x0000000000010000
Free Pool Cache (bytes):                        0x0000000000007890
Used Pool Cache (bytes):                        0x0000000000008770
Free blocks in Pool Cache:                      0x0000000000000001

Top block size in Pool Cache (bytes):           0x0000000000007840
Top block address:                              0xffffcf0ab7329770
Top block size starting to trim (bytes):        0x0000000000200000
The number of frees before trimming:            0x0000000000000fff

Related topics: